import { defineStore } from "pinia";

export const useChatWithAIStore = defineStore("ChatWithAI", {
  state: () => {
    return {
      chatWithAI: '',
      displayChatWithAI: '',
    };
  },
  actions: {
    setChatWithAI(chatWithAI: string) {
      this.chatWithAI = chatWithAI;
    },
    getChatWithAI() {
      return this.chatWithAI;
    },
    setDisplayChatWithAI(displayChatWithAI: string) {
      this.displayChatWithAI = displayChatWithAI;
    },
    getDisplayChatWithAI() {
      return this.displayChatWithAI;
    },
  },
});